package com.scopionstudio.djnonstop;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashActivity extends Activity{
	   private final int SPLASH_DISPLAY_LENGHT = 4000;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.layout_splash);
		 new Handler().postDelayed(new Runnable(){
	            @Override
	            public void run() {
	                /* Create an Intent that will start the Menu-Activity. */
	                Intent mainIntent = new Intent(SplashActivity.this,MainMusicActivity.class);
	                startActivity(mainIntent);
	                finish();
	            }
	        }, SPLASH_DISPLAY_LENGHT);
	}
}
